<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title><?php echo $this->_tpl_vars['lngpack']['forumtitle'] ?> - <?php echo $this->_tpl_vars['lngpack']['sitename'] ?></title>
<meta name="keywords" content="<?php echo $this->_tpl_vars['lngpack']['keyword'] ?>" />
<meta name="description" content="<?php echo $this->_tpl_vars['lngpack']['description'] ?>" />
<link href="<?php echo $this->_tpl_vars['url'] ?>templates/goods/style/tempates_div.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_tpl_vars['url'] ?>templates/goods/style/public.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_tpl_vars['url'] ?>templates/goods/style/pagebotton.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_tpl_vars['url'] ?>templates/goods/style/shCore.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_tpl_vars['url'] ?>templates/goods/style/shThemeDefault.css"  id="shTheme" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/jquery.js"></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/basicrun.js"></script>
<!--[if IE 6]>
<style type="text/css" media="screen">
body {behavior:url("<?php echo $this->_tpl_vars['url'] ?>templates/goods/style/csshover.htc"); }
</style>
<![endif]-->
</head>

<body>
<div class="head">
	826870a379354a6b252b0af7b0331b7fgoods/cn/public/head.html|826870a379354a6b252b0af7b0331b7f
	<?php if($this->_tpl_vars['out']=='forumindex'){ ?>
	<!--论坛主页-->
	<!--当前浏览位置-->
	<div class="framecenter">
		<div class="location">您现在的位置：首页 ＞ <?php echo $this->_tpl_vars['lngpack']['forumtitle'] ?></div>
	</div>
	<!--left-->
	<div class="framecenter margintop8">
		<div style="float:left">
			<!--分类栏目-->
			<div class="tbottonlist">
				<div class="tg">论坛分类</div>
				<div class="l">826dfebd693cd4d9f372d59e23d5a077bbstypelist|<?php echo $this->_tpl_vars['lng'] ?>,0||826dfebd693cd4d9f372d59e23d5a077</div>
			</div>
		</div>
		<div style="float:right;">
			<?php if(count($this->_tpl_vars['typelist']) > 0 ){ ?>
			<?php if (count($this->_tpl_vars['typelist'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['typelist']); $i++){?>
			<div class="righttext">
				<div class="ttitle">
					<table width="100%">
						<tr>
							<td><h3><a class="infolink04" title="<?php echo $this->_tpl_vars['typelist'][$i]['typename'] ?>" href="<?php echo $this->_tpl_vars['typelist'][$i]['link'] ?>"><?php echo $this->_tpl_vars['typelist'][$i]['typename'] ?></a></h3></td>
							<td class="right padding-right3"><a href="<?php echo $this->_tpl_vars['typelist'][$i]['addlink'] ?>">发布话题</a></td>
						</tr>
					</table>
				</div>
			</div>
			<div class="righttext margintop01 center">
				<table style="width: 100%" class="tablelist">
					<?php if(count($this->_tpl_vars['typelist'][$i]['bbslist']) > 0 ){ ?>
					<?php if (count($this->_tpl_vars['typelist'][$i]['bbslist'])>0){$divid_ii=1;for($ii=0;$ii<count($this->_tpl_vars['typelist'][$i]['bbslist']); $ii++){?>
					<tr>
						<td class="td03 left bbsicon">
							<img src="<?php echo $this->_tpl_vars['url'] ?>templates/goods/images/<?php echo $this->_tpl_vars['typelist'][$i]['bbslist'][$ii]['blid'] ?>.gif" />【<?php echo $this->_tpl_vars['typelist'][$i]['bbslist'][$ii]['labelname'] ?>】
							<a class="infolist" href="<?php echo $this->_tpl_vars['typelist'][$i]['bbslist'][$ii]['link'] ?>" title="<?php echo $this->_tpl_vars['typelist'][$i]['bbslist'][$ii]['title'] ?>"><?php echo $this->cutstr($this->_tpl_vars['typelist'][$i]['bbslist'][$ii]['title'],40,'...') ?></a>（<?php echo $this->_tpl_vars['typelist'][$i]['bbslist'][$ii]['click'] ?>阅/<?php echo $this->_tpl_vars['typelist'][$i]['bbslist'][$ii]['replynum'] ?>回）
						</td>
						<td class="td04 right"><u><?php echo $this->_tpl_vars['typelist'][$i]['bbslist'][$ii]['author'] ?></u> 于 <?php echo $this->timeformat($this->_tpl_vars['typelist'][$i]['bbslist'][$ii]['addtime'],3) ?></td>
					</tr>
					<?php }} ?>
					<?php }else{ ?>
					<tr>
						<td class="td03 left">暂无留言</td>
					</tr>
					<?php } ?>
				</table>
			</div>
			<?php }} ?>
			<?php } ?>
		</div>
	</div>
	<?php } elseif($this->_tpl_vars['out']=='forumlist'){ ?>
	<!--论坛列表-->
	<div class="framecenter">
		<div class="location">您现在的位置：826dfebd693cd4d9f372d59e23d5a077path|<?php echo $this->_tpl_vars['lng'] ?>,forum,<?php echo $this->_tpl_vars['type']['btid'] ?>||826dfebd693cd4d9f372d59e23d5a077</div>
	</div>
	<!--left-->
	<div class="framecenter margintop8">
		<div style="float:left">
			<!--分类栏目-->
			<div class="tbottonlist">
				<div class="tg">论坛分类</div>
				<div class="l">826dfebd693cd4d9f372d59e23d5a077bbstypelist|<?php echo $this->_tpl_vars['lng'] ?>,<?php echo $this->_tpl_vars['type']['btid'] ?>||826dfebd693cd4d9f372d59e23d5a077</div>
			</div>
		</div>
		<div style="float:right;">
			<div class="righttext">
				<div class="ttitle">
					<table width="100%">
						<tr>
							<td><h3><?php echo $this->_tpl_vars['type']['typename'] ?></h3></td>
							<td class="right padding-right3"><a href="<?php echo $this->_tpl_vars['type']['addlink'] ?>">发布话题</a></td>
						</tr>
					</table>
				</div>
			</div>
			<?php if(count($this->_tpl_vars['array']) > 0 ){ ?>
			<div class="righttext margintop01 center">
				<table style="width: 100%" class="tablelist">
					<?php if (count($this->_tpl_vars['array'])>0){$divid_ii=1;for($ii=0;$ii<count($this->_tpl_vars['array']); $ii++){?>
					<tr>
						<td class="td03 left bbsicon">
							<img src="<?php echo $this->_tpl_vars['url'] ?>templates/goods/images/<?php echo $this->_tpl_vars['array'][$ii]['blid'] ?>.gif" />【<?php echo $this->_tpl_vars['array'][$ii]['labelname'] ?>】
							<a class="infolist" href="<?php echo $this->_tpl_vars['array'][$ii]['link'] ?>" title="<?php echo $this->_tpl_vars['array'][$ii]['title'] ?>"><?php echo $this->cutstr($this->_tpl_vars['array'][$ii]['title'],40,'...') ?></a>（<?php echo $this->_tpl_vars['array'][$ii]['click'] ?>阅/<?php echo $this->_tpl_vars['array'][$ii]['replynum'] ?>回）
						</td>
						<td class="td04 right"><u><?php echo $this->_tpl_vars['array'][$ii]['author'] ?></u> 于 <?php echo $this->timeformat($this->_tpl_vars['array'][$ii]['addtime'],3) ?></td>
					</tr>
					<?php }} ?>
				</table>
			</div>
			<div class="righttext center margintop8">
				<div id="pagelist"><?php echo $this->_tpl_vars['pagetext'] ?></div>
			</div>
			<div class="righttext center margintop8">
				<div id="Pagination" class="pagination"><?php echo $this->_tpl_vars['pagebotton'] ?></div>
			</div>
			<?php } ?>
		</div>
	</div>
	<?php } elseif($this->_tpl_vars['out']=='forumread'){ ?>
	<!--论坛阅读-->
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>public/tinyMCE/tiny_mce.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/forumcreate.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/code/shCore.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/code/shBrushBash.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/code/shBrushCpp.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/code/shBrushCSharp.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/code/shBrushCss.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/code/shBrushDiff.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/code/shBrushJava.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/code/shBrushJScript.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/code/shBrushPhp.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/code/shBrushSql.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/code/shBrushXml.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/code/shBrushAS3.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/code/shBrushJavaFX.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/code/shBrushColdFusion.js"></script>
	<script type="text/javascript">
	SyntaxHighlighter.config.clipboardSwf = "<?php echo $this->_tpl_vars['url'] ?>js/code/clipboard.swf";
	SyntaxHighlighter.all();
	var title_empty = "<?php echo $this->_tpl_vars['lngpack']['forum_title_err'] ?>";
	var content_empty = "<?php echo $this->_tpl_vars['lngpack']['forum_content_err'] ?>";
	var seccode_empty = "<?php echo $this->_tpl_vars['lngpack']['seescodeerr'] ?>";
	</script>
		<div class="framecenter">
		<div class="location">您现在的位置：首页 ＞ <?php echo $this->_tpl_vars['lngpack']['forumtitle'] ?> ＞ <a href="<?php echo $this->_tpl_vars['type']['link'] ?>"><?php echo $this->_tpl_vars['type']['typename'] ?></a> ＞ <b><?php echo $this->_tpl_vars['read']['title'] ?></b></div>
		</div>
		<!--left-->
		<div class="framecenter margintop8">
			<table style="width:100%;margin:0px auto;margin-top:10px;margin-bottom:10px;"  class="tablelist">
				<tr>
					<td>
						<div class="ttitle"><h4>主题：（<?php echo $this->_tpl_vars['read']['labelname'] ?>）<?php echo $this->_tpl_vars['read']['title'] ?></h4></div>
					</td>
				</tr>
				<tr>
					<td class="td05 lineheight160"><?php echo $this->_tpl_vars['read']['content'] ?></td>
				</tr>
				<tr>
					<td class="td05 bgcolorthree2"><span class="colorgorningage">作者：<u><?php echo $this->_tpl_vars['read']['author'] ?></u></span>&nbsp; 发表时间：<?php echo $this->timeformat($this->_tpl_vars['read']['addtime'],3) ?>&nbsp; 阅读:<?php echo $this->_tpl_vars['read']['click'] ?>&nbsp;&nbsp; 回复：<?php echo $this->_tpl_vars['read']['replynum'] ?></td>
				</tr>
				<?php if(count($this->_tpl_vars['array']) > 0 ){ ?>
				<?php if (count($this->_tpl_vars['array'])>0){$divid_ii=1;for($ii=0;$ii<count($this->_tpl_vars['array']); $ii++){?>
				<tr>
					<td style="height:5px;"></td>
				</tr>
				<tr>
					<td>
						<div class="ttitle3"><h5><?php echo $this->_tpl_vars['array'][$ii]['title'] ?></h5></div>
					</td>
				</tr>
				<tr>
					<td class="td05 lineheight160"><?php echo $this->_tpl_vars['array'][$ii]['content'] ?></td>
				</tr>
				<tr>
					<td class="td05 bgcolorthree2"><span class="colorgorningage">作者：<u><?php echo $this->_tpl_vars['array'][$ii]['author'] ?></u></span>&nbsp; 发表时间：<?php echo $this->timeformat($this->_tpl_vars['array'][$ii]['addtime'],4) ?></td>
				</tr>
				<?php }} ?>
				<?php }else{ ?>
				<tr>
					<td style="height:5px;"></td>
				</tr>
				<tr>
					<td class="center"><b>暂无人回复该主题！</b></td>
				</tr>
				<?php } ?>
			</table>
		</div>
		<?php if(count($this->_tpl_vars['array']) > 0 ){ ?>
		<div class="framecenter margintop01">
			<table style="width:100%">
				<tr>
					<td class="right" style="padding-right:5px;">
						<div id="Pagination" class="pagination"><?php echo $this->_tpl_vars['pagebotton'] ?></div>
					</td>
				</tr>
			</table>
		</div>
		<?php } ?>
		<?php if($this->_tpl_vars['read']['noreply']==1){ ?>
		<div class="framecenter margintop8">
			<table style="width:100%;margin:0px auto;" class="tablelist">
				<tr>
					<td class="td05 bgcolororning ">
						<table>
							<tr>
								<td><span class="messicon2"><img src="<?php echo $this->_tpl_vars['url'] ?>templates/goods/images/comments.gif" /></span></td>
								<td><span class="messtext2 strong fontsize14">请在以下填写您的回复内容</span></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td class="td05">
						<?php if($this->_tpl_vars['member']['userid']!=0 || $this->_tpl_vars['is_anonymous']==1){ ?>
						<form name="rebbsmainform" id="rebbsmainform" method="post" action="<?php echo $this->_tpl_vars['mlink']['forumsave'] ?>" onsubmit="return reforumcreat('<?php echo $this->_tpl_vars['bbs_isseccode'] ?>')">
						<input type="hidden" name="inputclass" value="reinput">
						<input type="hidden" name="userid" value="<?php echo $this->_tpl_vars['member']['userid'] ?>">
						<input type="hidden" name="nowuserid" value="<?php echo $this->_tpl_vars['read']['userid'] ?>">
						<input type="hidden" name="linkebid" value="<?php echo $this->_tpl_vars['read']['bid'] ?>">
						<input type="hidden" name="lng" value="<?php echo $this->_tpl_vars['read']['lng'] ?>">
						<input type="hidden" name="btid" value="<?php echo $this->_tpl_vars['read']['btid'] ?>">
						<input type="hidden" name="blid" value="<?php echo $this->_tpl_vars['read']['blid'] ?>">
						<input type="hidden" name="purview" value="<?php echo $this->_tpl_vars['read']['purview'] ?>">
						<input type="hidden" name="noreply" value="<?php echo $this->_tpl_vars['read']['noreply'] ?>">
						<table style="width: 100%" class="tablelist"  style="width:100%;margin:0 auto;">
							<tr>
								<th class="td06 right" width="12%">主题</th>
								<td class="td06 left">
									<input type="text" name="title" maxlength="200" size="80" value="回复：<?php echo $this->_tpl_vars['read']['title'] ?>" class="infoInput">
								</td>
							</tr>
							<tr>
								<th class="td06 right" width="12%"></th>
								<td class="td06 left">
									<ul class="hrefbotton">
										<li><a class="linimage" href="javascript:;" onmousedown="tinyMCE.get('content').show();">显示编辑界面</a></li>
										<li><a class="linimage" href="javascript:;" onmousedown="tinyMCE.get('content').hide();">显示代码界面</a></li>
									</ul>
								</td>
							</tr>
							<tr>
								<th class="td06 right" width="12%"></th>
								<td class="td06 left">
									<textarea name="content" rows="30" id="content" style="width: 98%" class="smallInput"></textarea>
								</td>
							</tr>
							<?php if($this->_tpl_vars['bbs_isseccode']==1){ ?>
							<tr>
								<th class="td06 right">验证码</th>
								<td class="td06 left">
									<input type="text" id="code" name="seccode" maxlength="4" size="5" class="infoInput" style="text-transform: uppercase;"/>
									<img title="<?php echo $this->_tpl_vars['lngpack']['verification'] ?>" id="seccodesrc" onclick="sessionimg('seccodesrc','<?php echo $this->_tpl_vars['url'] ?>')" src="<?php echo $this->_tpl_vars['seccodelink'] ?>" style="cursor: pointer;" align="absmiddle"/>
								</td>
							</tr>
							<?php } ?>
							<tr>
								<td class="td06 right"></td>
								<td class="td06 left"><input type="submit" name="Submit" id="submit" value="确认回复" class="inputsubmit01"></td>
							</tr>
						</table>
						</form>
						<?php }else{ ?>
						<table border="0">
							<tr>
								<td class="trtitle02">826dfebd693cd4d9f372d59e23d5a077login|<?php echo $this->_tpl_vars['lng'] ?>||826dfebd693cd4d9f372d59e23d5a077</td>
							</tr>
						</table>
						<?php } ?>
					</td>
				</tr>
			</table>
		</div>
		<?php } ?>
	<?php } elseif($this->_tpl_vars['out']=='forumadd'){ ?>
	<!--论坛添加-->
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>public/tinyMCE/tiny_mce.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['url'] ?>js/forumcreate.js"></script>
	<script type="text/javascript">
	var title_empty = "<?php echo $this->_tpl_vars['lngpack']['forum_title_err'] ?>";
	var btid_empty = "<?php echo $this->_tpl_vars['lngpack']['forum_btid_err'] ?>";
	var content_empty = "<?php echo $this->_tpl_vars['lngpack']['forum_content_err'] ?>";
	var seccode_empty = "<?php echo $this->_tpl_vars['lngpack']['seescodeerr'] ?>";
	</script>
	<div class="framecenter">
		<div class="location">您现在的位置：首页 ＞ <?php echo $this->_tpl_vars['lngpack']['forumtitle'] ?> ＞ <b>发布留言</b></div>
	</div>
	<!--left-->
	<div class="framecenter margintop8">
		<table style="width:100%;margin:0px auto;" class="tablelist">
			<tr>
				<td class="td05 bgcolororning ">
					<table>
						<tr>
							<td><span class="messicon2"><img src="<?php echo $this->_tpl_vars['url'] ?>templates/goods/images/comments.gif" /></span></td>
							<td><span class="messtext2 strong fontsize14">请在以下填写留言内容</span></td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td class="td05">
					<form name="bbsmainform" id="bbsmainform" method="post" action="<?php echo $this->_tpl_vars['mlink']['forumsave'] ?>" onsubmit="return forumcreat('<?php echo $this->_tpl_vars['bbs_isseccode'] ?>')">
					<input type="hidden" name="upurl" value="<?php echo $this->_tpl_vars['upurllist'] ?>">
					<input type="hidden" name="inputclass" value="input">
					<input type="hidden" name="userid" value="<?php echo $this->_tpl_vars['member']['userid'] ?>">
					<input type="hidden" name="lng" value="<?php echo $this->_tpl_vars['lng'] ?>">
					<table style="width: 100%" class="tablelist"  style="width:100%;margin:0 auto;">
						<tr>
							<th class="td06 right" width="20%">主题</th>
							<td class="td06 left"><input type="text" name="title" maxlength="200" size="80" class="infoInput"></td>
						</tr>
						<tr>
							<th class="td06 right">请选择讨论区</th>
							<td class="td06 left">
								<select size="1" name="btid" class="select" id="btid">
									<option value="0">选择分类</option>
									<?php if (count($this->_tpl_vars['typelist'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['typelist']); $i++){?>
									 <option <?php echo $this->_tpl_vars['typelist'][$i]['selected'] ?> value="<?php echo $this->_tpl_vars['typelist'][$i]['btid'] ?>"><?php echo $this->_tpl_vars['typelist'][$i]['typename'] ?></option>
									<?php }} ?>
								</select>
							</td>
						</tr>
						<tr>
							<th class="td06 right">话题类型</th>
							<td class="td06 left">
								 <?php if (count($this->_tpl_vars['label'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['label']); $i++){?>
								   <input type="radio" value="<?php echo $this->_tpl_vars['label'][$i]['blid'] ?>" name="blid" <?php if($this->_tpl_vars['label'][$i]['selected']=='selected'){ ?>checked<?php } ?>> <?php echo $this->_tpl_vars['label'][$i]['labelname'] ?>&nbsp;
								 <?php }} ?>
							</td>
						</tr>
						<tr>
							<th class="td06 right">是否允许回复</th>
							<td class="td06 left"><input type="radio" value="1" name="noreply" checked> 是&nbsp;<input type="radio" value="0" name="noreply"> 否&nbsp;</td>
						</tr>
						<tr>
							<th  class="td06 right" valign="top"></th>
							<td class="td06 left">
								<ul class="hrefbotton">
									<li><a class="linimage" href="javascript:;" onmousedown="tinyMCE.get('content').show();">显示编辑界面</a></li>
									<li><a class="linimage" href="javascript:;" onmousedown="tinyMCE.get('content').hide();">显示代码界面</a></li>
								</ul>
							</td>
						</tr>
						<tr>
							<th  class="td06 right" valign="top">内容</th>
							<td class="td06 left">
								<textarea name="content" rows="30" id="content" style="width: 98%" class="smallInput"></textarea>
							</td>
						</tr>
						<?php if($this->_tpl_vars['bbs_isseccode']==1){ ?>
						<tr>
							<th class="td06 right">验证码</th>
							<td class="td06 left">
								<input type="text" id="code" name="seccode" maxlength="4" size="3"  class="infoInput" style="text-transform: uppercase;"/> <img title="<?php echo $this->_tpl_vars['lngpack']['verification'] ?>" id="seccodesrc" onclick="sessionimg('seccodesrc','<?php echo $this->_tpl_vars['url'] ?>')" src="<?php echo $this->_tpl_vars['seccodelink'] ?>" style="cursor: pointer;" align="absmiddle"/>
							</td>
						</tr>
						<?php } ?>
						<tr>
							<td></td>
							<td class="td06 left"><input name="submitsearch" type="submit" class="buttonface" value="确认提交"/></td>
						</tr>
					</table>
					</form>
				</td>
			</tr>
		</table>
	</div>
	<?php } ?>
	<!--版权声明-->
	826870a379354a6b252b0af7b0331b7fgoods/cn/public/fotter.html|826870a379354a6b252b0af7b0331b7f
</div>

</body>

</html>
